/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controller;

import broker.yahooJapanAuction.UrlExtractorFromList;
import view.ItemView;

/**
 *
 * @author jc218934
 */
public class UCCExtractInformation implements UCController
{
    private final ItemView itemView;
    private final String url;

    public UCCExtractInformation(ItemView itemView, String url)
    {
        this.itemView = itemView;
        this.url = url;
    }

    public void run()
    {
        Thread thread = new Thread(new UrlExtractorFromList(itemView, url));
        thread.start();
        
    }

}
